script_dir=$(cd "$(dirname "$0")"; pwd)
echo $script_dir 
export PRODUCT_DIR=$script_dir/build/lib
export ACIS_ROOT=/home/jason/tools/spatial/acis
export INTEROP_ROOT=/home/jason/tools/spatial/interOp
export BIN_ROOT=${PRODUCT_DIR}/lib/
export LD_LIBRARY_PATH=${BIN_ROOT}:${ACIS_ROOT}/linux_a64/code/bin:${INTEROP_ROOT}/linux_a64/code/bin:${LD_LIBRARY_PATH}

echo ${LD_LIBRARY_PATH}
# eg.  ./amcax_exchange_test  -i input.catpart  -o ouput.brep
export DATA_DIR=$script_dir/data
./build/TestAMCAXInterop
echo "convert done"